package com.example.demo.client.evt.cssmqry.group;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Desc
 * @Author zhengmf
 * @Date 2019-12-20 20:41:32
 */
@ApiModel(description = "查询组织机构树-入参")
public class GetUserGroupChildrenEvt implements Serializable {
    private static final long serialVersionUID = 5472677531686175373L;
    @ApiModelProperty("用户组状态：1-启用，2-禁用")
    private Integer status;
    @ApiModelProperty("组织结构ID:2-PTO跟节点;")
    private Long groupId;
    @ApiModelProperty("组织类型:空-全部;1-自定义用户组;2-组织机构;")
    private Integer groupType;
    @ApiModelProperty("是否查询子节点：true查树结构，false仅查询当前节点")
    private boolean hasChildren = true;
    @ApiModelProperty("是否查询顶层节点：true-不查顶层节点，false-查顶层节点（默认包含）")
    private boolean notIncludeTopNode = false;

    @Override
    public String toString() {
        return "GetUserGroupChildrenEvt{" +
            "status=" + status +
            ", groupId=" + groupId +
            ", groupType=" + groupType +
            ", hasChildren=" + hasChildren +
            ", notIncludeTopNode=" + notIncludeTopNode +
            '}';
    }

    public boolean isNotIncludeTopNode() {
        return notIncludeTopNode;
    }

    public void setNotIncludeTopNode(boolean notIncludeTopNode) {
        this.notIncludeTopNode = notIncludeTopNode;
    }

    public boolean isHasChildren() {
        return hasChildren;
    }

    public void setHasChildren(boolean hasChildren) {
        this.hasChildren = hasChildren;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Integer getGroupType() {
        return groupType;
    }

    public void setGroupType(Integer groupType) {
        this.groupType = groupType;
    }

}
